GtkFileChooserEntry: move the cursor after the user chooses a completion from the...
authorFederico Mena Quintero <federico@gnome.org>
Thu, 10 Mar 2016 22:02:56 +0000 (16:02 -0600)
committerFederico Mena Quintero <federico@gnome.org>
Thu, 10 Mar 2016 22:03:52 +0000 (16:03 -0600)
https://bugzilla.gnome.org/show_bug.cgi?id=756450

gtk/gtkfilechooserentry.c

index 71c615eea4e722fddd218d6b8f13c1d5589a3f8c..86f143efba141e2b572cef1676adf9b52771b592 100644 (file)
@@ -277,6 +277,8 @@ match_selected_callback (GtkEntryCompletion  *completion,
                             -1,
                             &pos);
 
+  gtk_editable_set_position (GTK_EDITABLE (chooser_entry), pos);
+
   g_free (path);
 
   return TRUE;